
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>暂缓流失页面</title>
</head>
<link href="../../jquery/bootstrap_3.3.0/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery/jquery-1.11.1-min.js"></script>
<script type="text/javascript" src="../../jquery/bootstrap_3.3.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="../../jquery/bs_pagination/jquery.bs_pagination.min.css">
<script type="text/javascript" src="../../jquery/bs_pagination/jquery.bs_pagination.min.js"></script>
<script type="text/javascript" src="../../jquery/bs_pagination/en.js"></script>
<script type="application/javascript" src="../../jquery/commons/common.js"></script>
<link href="../../jquery/bootstrap-datetimepicker-master/css/bootstrap-datetimepicker.min.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery/bootstrap-datetimepicker-master/js/bootstrap-datetimepicker.js"></script>
<script type="text/javascript" src="../../jquery/bootstrap-datetimepicker-master/locale/bootstrap-datetimepicker.zh-CN.js"></script>

<script type="text/javascript">
    $(function () {

        //确认流失页面
        $("#confirmLostBtn").click(function () {
            window.location.href = '/workbench/customer/confirmlost.jsp?atvId=' + getQueryString("atvId");
        });

        $.ajax({
            url: "/lost/initInfomation/"+getQueryString("atvId"),
            type: "post",
            dataType: "json",
            success: function (data) {
                var html = ''
                $.each(data.dataList, function (i, n) {
                    html +=  n.lstDelay+"</br>";
                });
                $("#deferLostLstDelay").html(html);
                $("#deferLostCustName").html(data.customer.custName);
                $("#deferLostCustManagerName").html(data.customer.custManagerName);
                $("#deferLostAtvDate").html(data.customer.atvDate);
            }
    });




    });
</script>

<body>
<!-- 返回按钮 -->
<div style="position: relative; top: 35px; left: 10px;">
    <a href="javascript:void(0);" onclick="window.history.back();"><span class="glyphicon glyphicon-arrow-left" style="font-size: 20px; color: #DDDDDD"></span></a>
</div>

<!-- 大标题 -->
<div style="position: relative; left: 40px; top: -30px;">
    <div class="page-header">
        <h3>暂缓流失</h3>
    </div>
    <div style="position: relative; height: 50px; width: 250px;  top: -72px; left: 700px;">
        <button type="button" class="btn btn-default" id="executePlanBtn"><span class="glyphicon glyphicon-edit"></span> 保存</button>
        <button type="button" class="btn btn-danger" id="confirmLostBtn"><span class="glyphicon glyphicon-minus"></span> 确认流失</button>
    </div>
</div>

<!-- 暂缓流失信息 -->
<div style="position: relative; top: -70px;">
    <div style="position: relative; left: 40px; height: 30px;">
        <div style="width: 300px; color: gray;">客户</div>
        <div style="width: 300px;position: relative; left: 200px; top: -20px;" id="deferLostCustName"><b></b></div>
        <div style="width: 300px;position: relative; left: 450px; top: -40px; color: gray;">客户经理</div>
        <div style="width: 300px;position: relative; left: 650px; top: -60px;" id="deferLostCustManagerName"><b></b></div>
        <div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px;"></div>
        <div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px; left: 450px;"></div>
    </div>


    <div style="position: relative; left: 40px; height: 30px; top: 30px;">
        <div style="width: 300px; color: gray;">上次下单时间</div>
        <div style="width: 500px;position: relative; left: 200px; top: -20px;" id="deferLostAtvDate"><b>&nbsp;&nbsp;</b></div>
        <div style="height: 1px; width: 550px; background: #D5D5D5; position: relative; top: -20px;"></div>
    </div>
    <div style="position: relative; left: 40px; height: 30px; top: 40px;">
        <div style="width: 300px; color: gray;">暂缓措施</div>
        <div style="width: 500px;position: relative; left: 200px; top: -20px;" id="deferLostLstDelay"><b>&nbsp;&nbsp;</b></div>
        <div style="height: 1px; width: 550px; background: #D5D5D5; position: relative; top: -20px;"></div>
    </div>
    <br/>
    <br/>
    <div style="position: relative; left: 40px; height: 30px; top: 50px;">
        <div style="width: 300px; color: gray;">追加暂缓措施</div>
        <div style="width: 630px;position: relative; left: 200px; top: -20px;" id="appendDeferLostLstDelay">
            <b>
                <textarea>
                </textarea>
            </b>
        </div>
        <div style="height: 1px; width: 850px; background: #D5D5D5; position: relative; top: -20px;"></div>
    </div>
    </div>
</body>
</html>
